/*
 * encoder.h
 *
 *  Created on: Jan 16, 2017
 *      Author: YzZe
 */

#ifndef ENCODER_H_
#define ENCODER_H_

#include "stm32f1xx_hal.h"

void TIM2_Encoder_Init(void);
void TIM4_Encoder_Init(void);

uint32_t Get_Encoder_Count(TIM_TypeDef *TIMx);

#endif /* ENCODER_H_ */
